<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改密码页</title>
    <style type="text/css">
        #container {
            width: 1000px;
            border: solid 2px green;
            margin: 50px auto;
            padding: 30px;
        }

        input {
            margin: 10px 0;
        }

    </style>
</head>
<body>
<div id="container">
    <form th:action="@{/user/change}" method="post">
        新密码：
        <input type="password" name="password">
        <input type="hidden" name="token" th:value="${token}">
        <br>
        <input type="submit" value="修改密码">
        <br>
        <span style="color:red" th:text="${ message }"></span>
        <br>
    </form>
</div>
</body>
</html>